@Override
public CustomResult update(Custom custom) {
customMapper.updateByPrimaryKeySelective(custom);
return CustomResult.ok();
}
@Override
@Override
public CustomResult update(Custom custom) {
int i = customMapper.updateByPrimaryKeySelective(custom);
if(i>=0){
return CustomResult.ok();
}else{
return null;
}
}